package test.administrator.example.com.mvptest1;

import android.app.Application;

import test.administrator.example.com.mvptest1.imageloader.ImageLoader;
import test.administrator.example.com.mvptest1.imageloader.loader.PicassoLoader;

/**
 * Created by thinkpad on 2019/5/21.
 */

public class MineApplication extends Application {

	public static MineApplication xbApp;

	@Override
	public void onCreate() {
		super.onCreate();
		//ImageLoader框架中，PicassoLoader中使用
		xbApp = this;
		//初始化图片库
		ImageLoader.getInstance().setGlobalImageLoader(new PicassoLoader());
	}
}
